package com.kingsoft.dc.khaos.extender.meta.model.ds;

import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by jing on 19/6/27.
 */
@Setter
@Getter
public class HdfsConnect extends Connect {

    private String dynamicParam ;

    private String krb5Md5;

    private String krbsType;

    private String keytabFile;

    private String principal;

    private String keytabMd5;

    private String useKrbs;

    private String defaultFS;

    private String krb5File;

    private String netProxyEnv;

    public static HdfsConnect createHdfsConnect(String config) {
        HdfsConnect connect = JSON.parseObject(config, HdfsConnect.class);
        return connect;
    }
}
